Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Throwing errors with superjson (msw 2) #34

Merged

Conversation

danilofuchs
Copy link
Contributor

@danilofuchs danilofuchs commented Dec 21, 2023

Closes #33
Closes #35
Closes #13

🎯 Changes

Fix: Error object should be serialized by superjson on the server
Fix: error.data.path should be populated

I had to manually match the error object because toThrow only checks the error type and message, not its content

✅ Checklist

  • If necessary, I have added documentation related to the changes made.
  • I have added or updated the tests related to the changes made.

@danilofuchs
Copy link
Contributor Author

@maloguertin could you kindly take a look? It's blocking our upgrade to msw 2

@timbilt
Copy link

timbilt commented Apr 10, 2024

Why is this not being merged?

@joel-daros
Copy link

Is this project still being maintained?

@smtrdev
Copy link

smtrdev commented Apr 18, 2024

I also wish this PR to be merged soon.

@FenderStrat85
Copy link

Any chance of this being merged? Is this still being maintained? @maloguertin

@maloguertin maloguertin merged commit 94bdb5e into maloguertin:main Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants